package Domain;

import BusinessLogic.Exceptions.DataAlreadyExistException;

import java.util.Collection;

public interface IRecommendationSet extends IRankedItemsSet {

    public Collection<Recommendation> getUserItems(String user);

    public Collection<Recommendation> getMovieItems(String movie);

    public Recommendation get(String user, String movie);

    public void add(Recommendation r) throws DataAlreadyExistException;

    public void remove(Recommendation r);

    public Collection<Recommendation> values();

    public Collection<String> getRecommendingUsers(String movie);

    public double getMovieRank(String movie);
}
